<?php

return [

	/*
	|--------------------------------------------------------------------------
	| oAuth Config
	|--------------------------------------------------------------------------
	*/

	/**
	 * Wechat
	 */
	'wx' => [
		'client_id'     => 'wx63d6fd4e6ab7880d',
		'client_secret' => 'f7b6f964c116a79f80fc76e28fef456c',
		'scope'         => ['snsapi_login'],
		'connect_url'   => 'https://open.weixin.qq.com/connect/qrconnect',
		'redirect_url'  => 'http://www.elvtuan.com/oauth/callback',
		'access_url'    => 'https://api.weixin.qq.com/sns/oauth2/access_token',
		'userinfo'      => 'https://api.weixin.qq.com/sns/userinfo',
	],
	/**
	 * QQ
	 */
	'qq' => [
		'client_id'         => '101302496',
		'client_secret'     => 'c8a2e5ff6185581e81e3055c1c7a5479',
		'scope'             => ['get_user_info'],
		'access_url'        => 'https://graph.qq.com/oauth2.0/token',
		'get_openid_url'    => 'https://graph.qq.com/oauth2.0/me',
		'userinfo'          => 'https://graph.qq.com/user/get_user_info',
		'code_redirect_url' => 'http://www.elvtuan.com/oauth/getUser',
	],


];